<?php
/**
 * 美妆镜v2.3 APP 相关接口
 *
 * @version v2.3
 * @author Zeon
 * Date: 2018/3/23
 * Created by Panxsoft.
 */

use Illuminate\Support\Facades\Route;


/**
 * @see \App\Http\Controllers\App\WechatUserController::V2_3ShowSkinRecord()
 */
Route::get('v2-3/user-skin-record/{wechat_user}', 'WechatUserController@V2_3ShowSkinRecord')
    ->name(\App\Http\Controllers\App\WechatUserController::ROUTES['show']);

/**
 * 店铺整体妆容的素材 (根据整妆分类)
 *
 * @see \App\Http\Controllers\App\PackController::list()
 */
Route::get('v2-3-1-10/pack', 'PackController@list')
    ->name(\App\Http\Controllers\App\PackController::ROUTE['list']);


/**
 * 用户收藏
 *
 * @see \App\Http\Controllers\App\WechatUserFavorsController
 */
Route::resource('/user-favors', 'WechatUserFavorsController')
    ->names(\App\Http\Controllers\App\WechatUserFavorsController::ROUTES);

/**
 * App端用户收藏照片二维码 的轮询
 *
 * @see \App\Http\Controllers\App\WechatUserFavorsController::userFavorsPoll()
 */
Route::get('/user-favors-poll', 'WechatUserFavorsController@userFavorsPoll')
    ->name(\App\Http\Controllers\App\WechatUserFavorsController::ROUTES['poll']);



